package handlers

type Logger interface {
	Verb(format string, a... interface{})
	Info(format string, a... interface{})
	Warn(format string, a... interface{})
	Error(format string, a... interface{})
}

type Publisher interface {
	PublishMessage(topic string, msg []byte)
}

type Handler interface {
	Handle(bytesMsg []byte, log Logger, pub Publisher) error
}
